home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / gnu / emacs_src_18_58.lha / emacs-18.58 / src / lmkfile < prev    next >
Text File  |  1992-06-18  |  1KB  |  46 lines

  1. CPP = /cpp/cpp -DAMIGA
  2. MAKE = lmk  # BSD doesn't have it as a default.
  3. #Note: an alternative is  CPP = /lib/cpp
  4.  
  5. all: xmakefile doall
  6.  
  7. doall:
  8.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} all
  9.  
  10. #This is used in making a distribution.
  11. #Do not use it on development directories!
  12. distclean:
  13.     -delete force paths.h config.h emacs-* temacs xemacs xmakefile \
  14.    *! @* *.o
  15.  
  16. clean:
  17.     -delete force temacs xemacs xmakefile @* *.o
  18.  
  19. xemacs: xmakefile doxemacs
  20.  
  21. doxemacs:
  22.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} xemacs
  23.  
  24. temacs: xmakefile dotemacs
  25.  
  26. dotemacs:
  27.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} temacs
  28.  
  29. demacs: xmakefile dodemacs
  30.  
  31. dodemacs:
  32.     $(MAKE) $(MAKEOVERRIDES) -f xmakefile ${MFLAGS} demacs
  33.  
  34. # If you have a problem with cc -E here, changing
  35. # the definition of CPP above may fix it.
  36. xmakefile: ymakefile config.h dostrip
  37.     -delete force xmakefile
  38.     ${CPP} ymakefile > t:ymkf
  39.     dostrip <t:ymkf >xmakefile
  40.  
  41. dostrip: dostrip.c
  42.     lc -L dostrip
  43.  
  44. tags:
  45.     etags [a-z]*.h [a-z]*.c /lisp/[a-z]*.el
  46.